<?php
namespace Modules\ShopAdmin\Http\Controllers\v1;
use Illuminate\Http\Request;
use Modules\ShopAdmin\Models\ShopUser as ShopUserModel;
class UserController extends CommonController
{ 
	/**
	 * @name  用户列表
	 * @method  GET	
	 * @param  page int 页码
	 * @param  pagesize int 每页条数
	 * @param  nick_name string 昵称			
	 * @param  gender int 性别:0=未知,1=男,2=女	
	 * @param  created_at string 注册时间	
	 * @return  JSON
	 */
    public function index(Request $request)
    {
		return (new ShopUserModel())->list_data($request->all());
    }
	
}
